home *** CD-ROM | disk | FTP | other *** search
/ Galilee Archaeology In Pictures / Galilee Archaeology in Pictures.iso / pc / Xtras / PrintOMatic Lite MX (Win32) / -PrintOMatic Lite MX Demo.dir / 00022_Field_22.txt < prev    next >
Text File  |  2004-04-06  |  2KB  |  37 lines

  1. Miscellaneous Routines
  2.  
  3. The following commands are odds and ends that didn't fit any other category:
  4.  
  5.     getVersion    get information about the version number
  6.     register        registers your copy of the PrintOMatic Xtra
  7.  
  8. getVersion
  9.  
  10. Syntax:    getVersion(xtra "PrintOMatic_Lite")
  11.  
  12. Returns: the version number of the Xtra, in string form
  13.  
  14. This function returns the version number of the xtra.
  15.  
  16. Example:
  17.  
  18.     set version = getVersion(xtra "PrintOMatic_Lite")
  19.     if version <> "1.5.5" then alert "Incompatible Xtra version."
  20.  
  21. register
  22.  
  23. Syntax:     register(xtra "PrintOMatic_Lite", serialNumber)
  24.  
  25. Returns:TRUE if the serial number is valid
  26.  
  27. The register command will register the PrintOMatic Lite Xtra, once you license PrintOMatic Lite and obtain a valid serial number. This will remove those annoying "unregistered copy" messages from your print progress dialog and printed output.
  28.  
  29. The registration process only registers your copy of PrintOMatic Lite temporarily. Your serial number is stored in Director's registry and might not be stored for any longer than the current Director session. If you re-install Director, move your movie to another computer, or use PrintOMatic Lite from a Projector, the serial number will likely be unavailable the next time you use PrintOMatic Lite.
  30.  
  31. Therefore, you should add the registration code below to the startMovie handler of every movie that uses the PrintOMatic Lite Xtra. This will ensure that PrintOMatic Lite can always find its serial number when it needs to.
  32.  
  33. Example:
  34.  
  35. The following code registers your copy of the PrintOMatic Lite Xtra for the duration of the current Director session:
  36.  
  37.     register(xtra "PrintOMatic_Lite", "<your serial number>")